<?php
class cnfg
{
    // 系统配置
    static $errlog_location="//localhost:10000";
    //static $errlog_location="/opt/project/site/web/php/logs";

    static $svcenv=array(
            'site'=>array('addr'=>'localhost:11010'),
            'default'=>array('addr'=>'localhost:11000')
            );

    // 应用配置
}

$SOAR_DIR=getenv('SOAR_DIR');
if(empty($SOAR_DIR)) $SOAR_DIR="/opt/soar";
include_once "$SOAR_DIR/common/php/soar/web.inc";

errlog::init("httpd", cnfg::$errlog_location);
